//
//  SRAccountService.h
//  SportRing
//
//  Created by mykoma on 14/10/26.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SRAccountNetService : NSObject

//登录 2
+ (RACSignal *)loginWithUserName:(NSString *)userName
                         userPwd:(NSString *)userPwd;

//注册 3
+ (RACSignal *)registerWithUserName:(NSString *)userName
                            userPwd:(NSString *)userPwd
                           nickName:(NSString *)nickName;

//修改个人资料 6
+ (RACSignal *)updateProfileWithNickName:(NSString *)nickName
                                birthDay:(NSString *)birthDay
                                  weight:(NSNumber *)weight
                                  height:(NSNumber *)height
                                  gender:(NSNumber *)gender;

//获取个人资料 7
+ (RACSignal *)getProfile;

//获取验证码 8
+ (RACSignal *)getAuthCodeWithPhoneNumber:(NSString *)phoneNumber;

//修改密码 9
+ (RACSignal *)modifyPasswordWithSms:(NSString *)sms
                              newPwd:(NSString *)newPwd
                         phoneNumber:(NSString *)phoneNumber;

+ (RACSignal *)modifyUserHeadImg:(NSData *)imageData;

@end
